package com.sc.service;

import com.github.pagehelper.PageInfo;
import com.sc.pojo.Title;

import java.util.List;

public interface TitleAdminService {
    public PageInfo<Title> titleAdmin(Integer pageNum,Integer pageSize,Integer id);
    public Title checkTitle(String title);
    public int add(Title title);
    public int edit(Title title);
    public int deleteAll(Integer[] ids);
    public int updateAll(Integer[] ids);
    public int delete(Integer id);
    public int deleteDetail(Integer id);
    public int insertAll(List<Title> list);
    public int updateOne(Integer id);
    public Title editSelect(Integer id);
    public List<Title> levelExam(Integer typeId,String difficulty);
    public int addExamInfo(List<Title> titles,Long id);
    public List<Title> addTitle(Integer num);
    public List<Title> selectAllTitle(Integer[] num);
    public int deleteExamDetail(Long id);

    public List<Title> myExamTest(Long id);
}
